package com.restaurant.application.indexes.consumptionlist;

import com.nebutown.base.Unit;
import com.nebutown.generation.basictype.UID;
import com.restaurant.application.consumption.support.OrderData;
import com.restaurant.application.indexes.consumptionlist.support.BandBean;
import com.restaurant.application.minifacade.data.ConsumptionListBO;

import java.util.List;


public interface AssistConsumptionList extends Unit {

    /**
     * 消费关联的订单搜索页面
     *
     * @param data
     * @return
     */
    List<OrderData> getOrderList(OrderData data);

    /**
     * 消费关联的订单绑定页面
     *
     * @param data
     * @return
     */
    String bandToCustomer(BandBean data);


    Double getTotal(UID uid);

    ConsumptionListBO getHistory();

}
